package com.example.light.web.meeting.service;

import com.example.light.web.meeting.entity.OaMeetRecord;
import com.example.light.web.meeting.vo.MeetRecordVO;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * @Author: lizhilong
 * @Description:
 * @Date: Created in 21:06 2018/8/27
 * @Modified By:
 */

public interface MeetService {
    PageInfo listMeetRecord(Integer pageNumber, Integer PageSize);
    PageInfo listMeetRecord(Integer pageNumber, Integer PageSize,String searchInfo);
    void addMeetRecord(OaMeetRecord meetRecord, Integer[] attendee);
    void deleteMeetRecord(Integer[] meetId);
    void updateMeetRecord(MeetRecordVO meetRecordVO);
    void addMeetAttendee(OaMeetRecord meetRecord, Integer[] attendee);

    MeetRecordVO getMeetByMeetId(Integer meetIds);

    void addCookie(HttpServletResponse response, MeetRecordVO meet);

    void addMeetSummary(String meetSummary);

    /**
     * @author lizhilong
     * @date 2018/9/1 15:58
     * @param file 上传的附件
     * @description: 上传附件文件
     */
    String uploadFile(MultipartFile file, String userPhone);

    void deleteAttends(Integer id);
}
